const state = {
  isShowAdDialog: false,
  delId: ''
};

const getters = {
  getShowAdDialogStatus(state) {
    return state.isShowAdDialog;
  },
};

const mutations = {
  changeShowAdDialogStatus(state, payload) {
    state.isShowAdDialog = payload.state;
    state.delId = payload.id
  },
};

export default {
  namespaced: true,
  state,
  getters,
  mutations,
};
